package com.sgb.contract.view.widget.pop;

import android.content.Context;

import com.sgb.contract.BR;
import com.sgb.contract.R;
import com.sgb.contract.model.ContractKeyValueBean;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

/**
 * SelectPop adapter
 * @author cyj
 */
public class SelectPopAdapter extends BaseRecycleAdapter<ContractKeyValueBean> {

    public SelectPopAdapter(Context context) {
        super(context, R.layout.contract_pop_adapter_select_pop, null);
    }

    @Override
    public void convert(ItemViewHolder holder, ContractKeyValueBean bean) {
        holder.setBinding(BR.data, bean);
    }
}
